package cn.iocoder.yudao.module.handguard.controller.admin.client.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * @author: liuweijun
 * @since: 2023/9/11 17:13
 * @description:
 */

@Schema(description = "管理后台 - 会员用户分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class UserPageReqVO  extends PageParam {

    @Schema(description = "用户类型：1用户端，2：业务员端，3：权证端")
    private String userType;

    @Schema(description = "手机号", example = "15601691300")
    private String mobile;

    @Schema(description = "姓名", example = "李四")
    private String name;

    @Schema(description = "用户昵称", example = "李四")
    private String nickname;

    @Schema(description = "最后登录时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] loginDate;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;


    @Schema(description = "业务员id")
    private Long agentId;

    @Schema(description = "业务员姓名")
    private String agentName;

    @Schema(description = "权证员id")
    private Long warrantId;

    @Schema(description = "权证员姓名")
    private String warrantName;

    private Integer status;

}
